SDKs: Add sandbox config - #2371
Conversation
There was a problem hiding this comment.
Pull request overview
Adds Rust SDK sandbox configuration support for session creation and resume.
Changes:
- Exposes sandbox policy types publicly.
- Forwards optional sandbox configuration in create/resume requests.
- Adds nested serialization and omission coverage.
Show a summary per file
| File | Description |
|---|---|
rust/src/wire.rs |
Adds optional sandbox configuration to wire payloads. |
rust/src/types.rs |
Extends public configs, conversions, exports, redacted debug output, and tests. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Balanced
|
Thanks for adding the Rust support. Would you be willing to apply the same improvement across the other five SDK languages (Node, C#, Python, Go, and Java), with at least one end-to-end test for each language? We aim to keep all six SDKs in sync in capabilities and usage patterns, so landing this only for Rust would leave an avoidable cross-language gap. Please move the PR back out of draft status once the other implementations and E2E coverage are ready for review. |
This comment has been minimized.
This comment has been minimized.
Cross-SDK Consistency Review ✅This PR adds
No consistency issues found. The feature is added uniformly to both
|
Summary
Add sandbox configuration support to session creation and resume APIs across all six SDK languages.
SandboxConfigand related policy types through each SDK's public session configuration API.sandboxConfigfor both create and resume requests.Testing
net8.0)dotnet format, Spotless, and Checkstyle